package behavior.TemplateMethod;

/**
 * Created by LYJ on 2016/10/20.
 */
public abstract class Bank1 {
    //传统方法
    public void processUser(int id){
        User user=Dao.getById(id);
        makeUserHappy(user);
    }




    public abstract void makeUserHappy(User user);
}
